package com.telit.firecommand.strategy;


import com.telit.common.entity.DataReturn;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;


public interface FireResourceStrategyInterface {

    /**
     * 下载excel导入数据模板
     */
    void excelTemplate(HttpServletResponse response);


    /**
     * excel导入数据
     * @param file
     * @return
     */
    void excelImport(MultipartFile file)throws Exception;

    /**
     * 导出excel报表
     * @param queryMap
     * @return
     */
    void excelExport(Map<String,Object> queryMap,HttpServletResponse response);

    /**
     * 查询资源数据接口
     * @return
     */
    DataReturn selectResourceList(Map<String,Object> queryMap);
}
